package com.cxyd.modules.wms.service;

import com.cxyd.common.page.PageData;
import com.cxyd.common.service.CrudService;
import com.cxyd.common.utils.ProcResult;
import com.cxyd.common.utils.Result;
import com.cxyd.modules.api.dto.request.TaskRequest;
import com.cxyd.modules.wms.dto.TaskDTO;
import com.cxyd.modules.wms.entity.TaskEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 业务记录
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
public interface TaskService extends CrudService<TaskEntity, TaskDTO> {
    PageData<TaskDTO> rfPage(Map<String, Object> params);

    ProcResult taskAffirm(Map<String, Object> params);

    ProcResult requestContOut(Map<String, Object> params);

    ProcResult requestContIn(Map<String, Object> params);

    void taskInsert(TaskEntity taskEntity);

    void backUp(Date date, Integer num);

    List<TaskEntity> taskQuery(String contNo,String taskSubType);

    void updateQty(TaskDTO dto);

}